<?php
/**
 * Created by PhpStorm.
 * User: zq
 * Date: 2018/2/15
 * Time: 16:18
 */

namespace Helper;

use Curl\Curl as Curl;

class HttpCurl {
    private static $i = null;

    private function __construct() {
    }

    private function __clone() {

    }

    public static function i() {
        if (self::$i instanceof Curl) {
            return self::$i;
        }
        return self::$i = new Curl();
    }
}